package cn.com.dhcc.turbo.entity.registry;

import java.io.Serializable;
import java.util.Date;

import cn.com.dhcc.app.core.annotation.SiColumn;
import cn.com.dhcc.app.core.annotation.SiNotDbColumn;
import cn.com.dhcc.app.core.annotation.SiTable;
import cn.com.dhcc.app.core.base.ModuleFeatureBean;

/**
 * 数据分类表
 * 
 * @日期：2014-9-29下午4:12:34
 * @作者：张洪涛
 * @版权所有：东华软件
 * @版本：1.0
 */
@SiTable(name = "turbo_data_category")
public class DataCategory extends ModuleFeatureBean implements Serializable {
	private static final long serialVersionUID = 1L;
	@SiColumn(isId = true)
	private String id;// id
	@SiColumn(name = "data_code")
	private String dataCode;// 数据分类编码
	@SiColumn(name = "data_name")
	private String dataName;// 数据分类名称
	
	private String pid;// pid
	@SiNotDbColumn
	private String pcode;// pcode
	
	@SiColumn(name = "domain_id")
	private String domainId;// 所属业务域
	@SiNotDbColumn
	private String domainCode;//业务编码
	
	
	
	@SiColumn(name = "self_desc")
	private String selfDesc;// 自描述
	private Date mtime;// 修改时间
	private String remark;// 备注
    private String status;
    @SiColumn(name = "encode_tls")
    private String encodeTls;//是否加密传输 0 否 1是
    @SiColumn(name = "compress_tls")
    private String compressTls;//预留字段,是否压缩传输
    @SiColumn(name = "dc_type")
	private String dcType;// 数据分类类型　0全局　1局部
    @SiColumn(name = "org_code")
	private String orgCode;// 数据分类类型所属行政区
    
    @SiNotDbColumn
	private String domainName;//业务编码
	@SiNotDbColumn
	private String count;//子分类数
	@SiNotDbColumn
	private String edit;//是否可编辑

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getDomainName() {
		return domainName;
	}

	public void setDomainName(String domainName) {
		this.domainName = domainName;
	}

	public String getDataCode() {
		return dataCode;
	}

	public void setDataCode(String dataCode) {
		this.dataCode = dataCode;
	}

	public String getDataName() {
		return dataName;
	}

	public void setDataName(String dataName) {
		this.dataName = dataName;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}


	public String getSelfDesc() {
		return selfDesc;
	}

	public void setSelfDesc(String selfDesc) {
		this.selfDesc = selfDesc;
	}

	public Date getMtime() {
		return mtime;
	}

	public void setMtime(Date mtime) {
		this.mtime = mtime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}


	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getCount() {
		return count;
	}

	public void setCount(String count) {
		this.count = count;
	}

	

	public String getOrgCode() {
		return orgCode;
	}

	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}

	public String getPcode() {
		return pcode;
	}
	
	public void setPcode(String pcode) {
		this.pcode = pcode;
	}
	
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getEncodeTls() {
		return encodeTls;
	}

	public void setEncodeTls(String encodeTls) {
		this.encodeTls = encodeTls;
	}

	public String getCompressTls() {
		return compressTls;
	}

	public void setCompressTls(String compressTls) {
		this.compressTls = compressTls;
	}

	public String getDcType() {
		return dcType;
	}

	public void setDcType(String dcType) {
		this.dcType = dcType;
	}

	public String getEdit() {
		return edit;
	}

	public void setEdit(String edit) {
		this.edit = edit;
	}


	public String getDomainId() {
		return domainId;
	}

	public void setDomainId(String domainId) {
		this.domainId = domainId;
	}

	public String getDomainCode() {
		return domainCode;
	}

	public void setDomainCode(String domainCode) {
		this.domainCode = domainCode;
	}

	@Override
	public String toString() {
		return "DataCategory [id=" + id + ", dataCode=" + dataCode
				+ ", dataName=" + dataName + ", pid=" + pid + ", pcode="
				+ pcode + ", domainId=" + domainId + ", domainCode="
				+ domainCode + ", selfDesc=" + selfDesc + ", mtime=" + mtime
				+ ", remark=" + remark + ", status=" + status + ", encodeTls="
				+ encodeTls + ", compressTls=" + compressTls + ", dcType="
				+ dcType + ", domainName=" + domainName + ", count=" + count
				+ ", edit=" + edit + "]";
	}
	
}
